﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using KDG.FoldersSize;

namespace KDG.FoldersSize
{
    /// <summary>
    /// Логика взаимодействия для Window1.xaml
    /// </summary>
    public partial class WindowMain : Window, IViewModelBase
    {
        List<String> _views = new List<string>() { "Scan", "Finder", "Duplicates" };
        public WindowMain() { 
            InitializeComponent();

            DuplicatesView fw = new DuplicatesView();
            fw.DataContext = this;
            CurrentView = fw;
        }
        #region Члены IViewModelBase

        public IScannerModel Model
        {
            get;
            set;
        }

        public List<string> Views { get { return _views; } }
        public IViewBase CurrentView { get; private set; }

        #endregion

        #region Члены INotifyPropertyChanged

        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;

        #endregion
    }
}
